class Graph
{
public: 
    Graph() { s_gCount++; } 
    ~Graph() { s_gCount--;} 
    virtual int drawOut() {} 
    static int getTotalCount() { return s_gCount; } 
protected: 
    int m_x; 
    int m_y; 
    static int s_gCount; 
}; 
int Graph::s_gCount = 0;

int main(){
	Graph g;
	return 0;
}